package com.koron.order.risk.feign.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author jzp
 * @since 2022/12/30
 */
@Data
public class EquipmentParams {

    /**
     * 主键
     */
    @ApiModelProperty(value = "id")
    private String id;

    /**
     * 设备id(w_equipment.id)
     */
    @ApiModelProperty(value = "设备ID")
    private String equipmentId;

    /**
     * 参数编号
     */
    @ApiModelProperty(value = "参数id")
    private String paramId;

    /**
     * 参数值
     */
    @ApiModelProperty(value = "参数值，用于label展示")
    private String paramValue;

    /**
     * 参数值名称冗余
     */
    @ApiModelProperty(value = "参数id，保存参数真正的id")
    private String paramResult;

    @ApiModelProperty(value = "参数类型（基本参数，技术参数）")
    private String group;

    @ApiModelProperty(value = "参数名称")
    private String paramName;

    @ApiModelProperty(value = "是否必填")
    private boolean isMust;

    @ApiModelProperty(value = "输入类型（radio,单选；multi，多选；box，文本框）")
    private String enterType;

    @ApiModelProperty(value = "数据类型（text,文本；number，数字；date，日期；....）")
    private String dataType;

    @ApiModelProperty(value = "文本限制长度")
    private Integer dataLength;

    @ApiModelProperty(value = "保留小数点后位数")
    private Integer dataPrecision;

    @ApiModelProperty(value = "数据计量单位")
    private String dataUnit;

    @ApiModelProperty(value = "数据默认值")
    private String dataText;

    @ApiModelProperty(value = "顺序")
    private Integer sort;

    public EquipmentParams() {}
}
